package praktikumid.w09.p4.interface_example;

/**
 * A frog, a concrete species of animal.
 * Frog is considered to be both water and land animal.
 * A frog can both walk on the land and swim in the water.
 * Therefore, Frog implements both IWaterAnimal and 
 * ILandAnimal.
 * @author Ago
 *
 */
public class Frog extends Animal implements IWaterAnimal, ILandAnimal {

	@Override
	public void eat() {
		// eat on land

	}

	@Override
	public void walk() {
		// implementation from ILandAnimal
		
	}

	@Override
	public void swim() {
		// implementation from IWaterAnimal
		
	}

}
